<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="http://java.fckeditor.net" prefix="FCK" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
  <head>
    <html:base />
    <title>管理</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
  </head>
  <body>
  	<logic:empty name="fatherid">
  		<p>暂未初始化文档，请确认文章已经创建完毕。</p>
  	</logic:empty>
  	<logic:notEmpty name="fatherid">
  		<div id="article-item">
	  		<form name="frm" method="post" action="<%=path %>/manager.do?method=editArticle">
	  			<input name="id" type="hidden" value="<bean:write name="article" property="id"/>" />
	  			<input name="fatherid" type="hidden" value="<bean:write name="fatherid" />" />
	  			<FCK:editor instanceName="content" width="80%" height="300px" toolbarSet="Article">
           	   		<jsp:attribute name="value">
           	   			<bean:write name="article" property="content" filter="false" />
           	   		</jsp:attribute> 
           	    </FCK:editor>
           	    <input type="submit" value="提交" />
	  		</form>
  		</div>
  	</logic:notEmpty>
  </body>
</html:html>
